const store = {
  state: {
    // 写数据
  },
  actions: {
    // 写同步方法
  },
  asyncActions: {
    // 写异步方法
  },

  actionNames: {},
};
let actionNames = {};

for (let key in store.actions) {
  actionNames[key] = key;
}
store.actionNames = actionNames;

export default store;
